package com.example.tasks;

public class Test {
    public static void main(String[] args) {
        String s = "a,b,c,d";
        String[] split = s.split(",", 2);
        for (String string : split) {
            System.out.println(string);
        }

    }


}
